package com.crm.customers.dao;

import java.util.List;

import com.crm.customers.model.Paid;

public interface PaidDao {
	
	/**
	 * 保存代办
	 * */
	public Paid savePaid(Paid c);
	
	/**
	 * 根据id获取报销信息
	 * */
	public Paid getPaidInfoById(Paid c);
	
	/**
	 * 改变审批状态
	 * */
	public int updatePaidApprovestate(Paid c);
	
	/**
	 * 更新报销信息 
	 * */
	public int updatePaid(Paid c);
	
	/**
	 * 获取被驳回审批理由
	 * */
	public String getOverruleReason(Paid c);
	
	/**
	 * 根据日期获取报销总额
	 * */
	public Integer getCommMoneyByCreatedate(Paid c);
	/**
	 * 获取报销列表
	 * @param c
	 * @return
	 */
	public List<Paid> getPaidList(Paid c);
	/**
	 * 获取报销金额
	 * @param c
	 * @return
	 */
	public int getPaidTotalMoney(Paid c);
	
}
